package com.atguigu.lease.common.minio;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix ="minio")//前缀匹配prefix = "minio" 会抓取application.yml配置文件中所有 minio.xxx 的配置项。
@Data//get,set方法
public class MinioProperties {
    private String bucketName;
    private String username;
    private String password;
    private String endPoint;
}
